package com.fangcang.b2b.wxpay.dto;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 微信H5支付参数
 */
public class WxH5PayResponseDTO implements Serializable {

	private static final long serialVersionUID = 396372938151764085L;

	/**
	 * 公众号id
	 */
	private String appId;

	/**
	 * 时间戳
	 */
	private String timeStamp;

	/**
	 * 随机字符串
	 */
	private String nonceStr;

	/**
	 * 订单详情扩展字符串
	 */
	private String orderPackage;

	/**
	 * 签名方式
	 */
	private String signType;

	/**
	 * 签名
	 */
	private String paySign;

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getTimeStamp() {
		return timeStamp;
	}

	public void setTimeStamp(String timeStamp) {
		this.timeStamp = timeStamp;
	}

	public String getNonceStr() {
		return nonceStr;
	}

	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}

	public String getOrderPackage() {
		return orderPackage;
	}

	public void setOrderPackage(String orderPackage) {
		this.orderPackage = orderPackage;
	}

	public String getSignType() {
		return signType;
	}

	public void setSignType(String signType) {
		this.signType = signType;
	}

	public String getPaySign() {
		return paySign;
	}

	public void setPaySign(String paySign) {
		this.paySign = paySign;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}
}
